#pragma once

namespace	MomogenkyouSystem	{


//	Placed temporary on hold
class	BatchedModel
{
protected:
	MODELMESH					m_pMesh;
	DWORD						m_MaterialCount;

	std::vector<Material>		m_Materials;
public:
	BatchedModel();

	virtual	~BatchedModel();

	__inline	Material	*	GetMaterial(const size_t & Index)	{	ASSERT(Index < m_MaterialCount, "Material Index Out of bonds");	return	&m_Materials[Index];	}
	
	//	Load a Mesh from a DX File
	bool	Load(const std::string & Directory, const std::string & Filename);
	//void	Render(const std::deque<RenderableQuad>	param_List);

	void	RenderOneMesh();
	void	RenderManyMesh(const std::vector<ModelRenderable *>	& List);
};
}